/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.giant.services.parametrics;

import com.giant.entities.TypeCurrency;
import com.giant.exceptions.OperacionInvalidaException;
import java.util.List;
import java.util.Map;
import javax.ejb.Local;

/**
 *
 * @author harold
 */
@Local
public interface ServiceTypeCurrencyLocal {
     /**
     * 
     * @param typeCurrency
     * @throws OperacionInvalidaException 
     */
    public void addTypeCurrency(TypeCurrency typeCurrency)throws OperacionInvalidaException;

    /**
     * 
     * @param id
     * @throws OperacionInvalidaException 
     */
    public void removeTypeCurrency(long id)throws OperacionInvalidaException;

    /**
     * 
     * @return 
     */
    public List<TypeCurrency> getTypeCurrencys();
    
    /**
     * 
     * @param a
     * @param map
     * @return 
     */
     public List<TypeCurrency> getTypeCurrencysFilter(String a, Map<String, String> map);
}
